﻿namespace Loki.Engine
{
    public abstract class SubEntity<TParentEntity, TModelType> : Entity<TModelType>
        where TParentEntity : Entity<TModelType>
    {
        public TParentEntity Parent
        {
            get;
            private set;
        }

        public SubEntity(TParentEntity P_Parent)
        {
            Parent = P_Parent;
        }

        public SubEntity(TParentEntity P_Parent, SubEntity<TParentEntity, TModelType> P_Clone)
        {
            Parent = P_Parent;
        }
    }
}
